/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.ejb.sessionbean;

import cassys.dataaccess.DAOException;
import cassys.datatransferobjects.LecturerDTO;
import cassys.datatransferobjects.UserDTO;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import javax.ejb.Remote;


/**
 *
 * @author ASUS
 */
@Remote
public interface LecturerBeanRemote {

 java.util.ArrayList <LecturerDTO> findAllLecturers() throws DAOException;

    LecturerDTO findLecturer(String userId) throws DAOException;
    LecturerDTO findLecturerByName(String userName) throws DAOException;
    void updateLecturer(LecturerDTO user) throws DAOException;
    void insertLecturer(LecturerDTO module) throws DAOException;
     void deleteLecturer(LecturerDTO module) throws DAOException;

    boolean lecturerValidate(String userid, String password) throws DAOException;

   
    
}
